package cn.simon.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Cart {
  @TableId
  private int cartId;
  private int userId;
  private int goodsId;
  private int cartGoodsNumber;
  @TableField(exist = false)
  private Goods goods;
}
